package com.china.great.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.china.great.system.entity.SystemLoginUser;
import com.china.great.system.entity.SystemUser;
import org.springframework.stereotype.Repository;

/**
 * @Author: Liu HongYang
 * @DateTime: 2020/7/12 11:38 下午
 * @Description: TODO
 */
@Repository
public interface SystemUserDao extends BaseMapper<SystemUser> {

    IPage<SystemUser> getPageUserList(Page<?> page);

    /**
     *根据用户名，查询用户详情
     *
     * */
    SystemLoginUser getUser(String username);

}
